package com.frejoys.common.constant;

public class CommonConstant {

    // app路由前缀
    public static final String routePrefixApp = "/app";

    // admin路由前缀
    public static final String routePrefixAdmin = "/admin";

    // store路由前缀
    public static final String routePrefixStore = "/store";

    // agent路由前缀
    public static final String routePrefixAgent = "/agent";

    // notify路由前缀
    public static final String routePrefixNotify = "/notify";

    // 请求头Token存储key
    public static final String authorization = "Authorization";

    // 请求头语言
    public static final String language = "Accept-Language";

    // 中文
    public static final String languageZh = "zh";

    // 英文
    public static final String languageEn = "en";

    // 韩文
    public static final String languageKo = "ko";

    // appid
    public static final String appid = "appid";

    // 时间戳
    public static final String timestamp = "timestamp";

    // 随机数
    public static final String nonce = "nonce";

    // 版本
    public static final String version = "version";

    // 签名
    public static final String sign = "sign";

    // token
    public static final String token = "token";

    // 位置(某些地方区分来源，例如websocket)：1.app，2.amdin
    public static final String site = "site";

    // 用户id
    public static final String userId = "userId";

    // 文件名称
    public static final String fname = "fname";

    // 文件带域名完整名称
    public static final String fnameUrl = "fnameUrl";

    // 订单超时时间
    public static final Integer orderTimeout = 600;

    // 错误码
    public static final Integer errCode = 40029;

    public static final Integer successCode = 0;

    public static final Integer refreshTokenErrCode = 40030;

    public static final Integer openidErrCode = 40003;

    // 错误码名
    public static final String errcodeString = "errcode";

    // 状态
    public static final String SUCCESS = "SUCCESS";

    // 支付描述 好享免 - 商品订单
    public static final String description = "好享免 - 商品订单";



    /************ 花卷云 **************/
    // 会员列表
    public static final String huajuanUserList = "dhcc.oauth.user.list";

    // 添加积分
    public static final String huajuanScoreAdd = "dhcc.oauth.score.add";

    // 消耗积分
    public static final String huajuanScoreUse = "dhcc.oauth.score.use";

    // 积分查询
    public static final String huajuanUserScore = "dhcc.oauth.score.user.score";

}
